﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;

namespace WowTourGuideTranslator
{
    static class Program
    {
        /// <summary>
        /// Gets or sets a value indicating whether the program runs on mono.
        /// </summary>
        /// <value><c>true</c> if [runs on mono]; otherwise, <c>false</c>.</value>
        static public bool RunsOnMono { get; private set; }


        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            // find out if we run on mono
            Type t = Type.GetType("Mono.Runtime");
            if (t != null)
                Program.RunsOnMono = true;
            else
                Program.RunsOnMono = false;

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new TourGuideBaseTranslatorForm());
        }
    }
}
